<template>
	<view>
		<swiper class="banner" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000">
			<swiper-item>
				<view class="swiper-item">
					<image src="../..//static/shop/1595833354066324005.jpg" mode=""></image>
				</view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item">
					<image src="../../static/shop/1595833443068049276.jpg" mode=""></image>
				</view>
			</swiper-item>
		</swiper>
		<view class="main in">
			<view class="title">
				武当山度假区
			</view>
			<view class="xq">
				3656人想去 <text style="display: inline-block; width: 40rpx;"><image class="img1" src="../../static/Home/star-1.png" mode=""></image></text>
			</view>
			<view class="text">
				山好水绿，人美心更美，山好水绿，人美心更美，山好水绿，人美心更美，山好水绿，人美心更美，山好水绿，人美心更美，山好水绿，人美心更美，山好水绿，人美心更美，山好水绿，人美心更美，山好水绿，人美心更美，山好水绿，人美心更美，山好水绿，人美心更美，
			</view>
			<!--  -->
			<view class="time">
				<view class="left">
					<text><u-icon name="clock"></u-icon></text> 时间
				</view>
				<view class="right">
					13：00至17：30开放
				</view>
			</view>
			<!-- 热线 -->
			<view class="time">
				<view class="left">
					<text><u-icon name="phone"></u-icon></text> 热线
				</view>
				<view class="right">
				996677
				</view>
			</view>
			<!-- 地址 -->
			<view class="time">
				<view class="left">
					<text><u-icon name="map"></u-icon></text> 位置
				</view>
				<view class="right">
				996677
				</view>
			</view>
		</view>
		<view class="center1">
			<view class="h1">服务支持</view>
			<view class="center-header">
				<view><text style="background-color: #009688 ;display: inline-block;margin-right: 10rpx; padding: 0rpx 10rpx; color: #FFFFFF;">预约</text>订座预约：该服务商支持预约服务</view>
				<view><text style="background-color: #FF9800 ;display: inline-block;margin-right: 10rpx; padding: 0rpx 10rpx; color: #FFFFFF;">送餐</text>送餐上门：支持酒店上门送餐服务</view>
				<view><text style="background-color: #FFD502 ;display: inline-block;margin-right: 10rpx; padding: 0rpx 10rpx; color: #FFFFFF;">现场</text>现场食堂：具备现场餐桌就餐条件</view>
			</view>
			<view style="height: 20rpx;">
				
			</view>
			<view class="center-middle">
				<view><view style="background-color: #009688;"><image src="../../static/wnelv/riLine-coupon-line@1x.png" mode=""></image></view><view>酒店推荐</view></view>
				<view><view style="background-color: #FFD502;"><image src="../../static/wnelv/riLine-restaurant-line@1x.png" mode=""></image></view><view>餐饮推荐</view></view>
				<view><view style="background-color: #FF5A57;"><image src="../../static/wnelv/riLine-coupon-line@1x.png" mode=""></image></view><view>乘车路线</view></view>
				<view><view style="background-color: #45CA35;"><image src="../../static/wnelv/riLine-chat-smile-2-line@1x.png" mode=""></image></view><view>商家合作</view></view>
			</view>
			<view class="center-footer">
				<view><view ><image src="../../static/wnelv/图标 4 Copy@1x.png"mode=""></image></view><view>问问店家</view></view>
				<view><view><image src="../../static/wnelv/图标 4 Copy 2@1x.png" mode=""></image></view><view>收藏</view></view>
				<view><view>酒店商城</view></view>
				<view @click="router()"><view>点击订购</view></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
					
			};
		},
		methods:{
			router() {
				console.log(1)
				uni.navigateTo({
					url:'../order/order'
				})
			},
		}
	}
</script>

<style lang="scss">
	.h1{
		font-weight: 900;
		font-size: 36rpx;
		margin-top: 20rpx;
		margin-bottom: 20rpx;
	}
	.center-header{
		width: 70%;
		margin: 0 auto;
	}
	.center-middle{
		display: flex;
		justify-content: space-between;
		width: 90%;
		margin: 0 auto;
	}
	.center-middle>view>view:nth-child(1){
		text-align: center;
		line-height: 130rpx;
		margin: 0 auto;
		width: 100rpx;
		height: 100rpx;
		border-radius: 50rpx;
	}
	.center-middle>view>view:nth-child(2){
		margin-top: 20rpx;
	}
	.center-middle>view>view:nth-child(1)>image{
		width: 50%;
		height: 50%;
	}
	.center-footer{
		display: flex;
		text-align: center;
		margin-top: 10rpx;
	}
	.center-footer>view{
		width: 25%;
	}
	.center-footer>view:nth-child(1)>view:nth-child(1){
		width: 50rpx;
		height: 50rpx;
		margin: 0 auto;
		text-align: center;
	}
	.center-footer>view:nth-child(2)>view:nth-child(1){
		width: 50rpx;
		height: 50rpx;
		margin: 0 auto;
		text-align: center;
	}
	.center-footer>view:nth-child(3)>view{
		width: 180rpx;
		height: 80rpx;
		line-height: 80rpx;
		background-color: #FEB60A ;
	}
	.center-footer>view:nth-child(4)>view{
		width: 180rpx;
		height: 80rpx;
		line-height: 80rpx;
		background-color: #FF5555 ;
	}
	.center-footer>view>view:nth-child(1)>image{
		width: 100%;
		height: 100%;
	}
	.time{
		margin-top: 20rpx;
		display: flex;
		justify-content: space-between;
	}
	.left>text{
		display: inline-block;
		width: 40rpx;
	}
	.banner {
		height: 400rpx;
		width: 750rpx;
	
		.swiper-item {
			image {
				width: 100%;
			}
		}
	}
	.main{
		.title{
			color: rgba(255, 131, 0, 100);
			font-size: 56rpx;
			font-weight: 800;
			margin-top: 20rpx;
		}
		.xq{
			width: 100%;
			text-align: right;
		}
		.img1{
			width: 25rpx;
			height: 25rpx;
		}
		.text{
			margin-top: 20rpx;
			line-height: 30rpx;
			overflow: hidden;
			text-overflow: ellipsis;
			display: -webkit-box;
			-webkit-box-orient: vertical;
			-webkit-line-clamp: 3;
		}
	}
</style>
